package com.gqzdev.learn.service;

import com.gqzdev.learn.dao.CollectMapper;
import com.gqzdev.learn.model.Collect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * (Collect)表服务接口
 *
 * @author ganquanzhong
 * @since 2020-04-18 22:01:55
 */
@Service
public class CollectService {

    @Autowired
    private CollectMapper collectMapper;

    public void saveCollect(HashMap<String, Object> map) {
        collectMapper.saveEntity(map);
    }

    public void deleteCollect(HashMap<String, Object> map) {
        collectMapper.deleteEntity(map);
    }

}